/* Copyright (c) 2000-2011 ActiveState Software Inc.
   See the file LICENSE.txt for licensing information. */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

ko-findbar .ko-findbar-container {
  -moz-box-flex: 1;
  -moz-box-align: center;
  overflow-x: hidden;
}

ko-findbar .ko-findbar-container > toolbarbutton {
  -moz-box-orient: horizontal;
  -moz-user-focus: normal;
}


ko-findbar .ko-findbar-textbox {
  width: 30em;
  padding: 0 !important;
  -moz-user-focus: normal;
}

ko-findbar .ko-findbar-textbox > .autocomplete-textbox-container {
  padding: 0 4px !important;
}

ko-findbar.ko-findbar-status-not-found .ko-findbar-textbox > * {
  box-shadow: 0 0 0 2em rgba(255, 64, 64, 0.8) inset;  /* background color */
  color: white;
}

ko-findbar .ko-findbar-status {
  visibility:  collapse;
  -moz-box-pack: start;
  /* make sure this doesn't crop the input box */
  width: 0;
  -moz-box-flex: 1;
  overflow-x: hidden;
}

ko-findbar .ko-findbar-status > .ko-findbar-status-container {
  -moz-box-align: center;
}

ko-findbar .ko-findbar-next .toolbarbutton-text,
ko-findbar .ko-findbar-prev .toolbarbutton-text {
  visibility: collapse;
}

ko-findbar toolbarbutton > label
{
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
}